<?php echo $this->render('include/header.phtml');?>

<!--main begin//-->
<DIV id=main>
    <DIV class=conversation-group>
        <H2>Music Radio</H2>
        <UL class=conversations>
                <DIV class=cbody>
                    <H3><A href="#">最新歌曲推荐</A></H3>
                    <SPAN class=meta>Sent Friday at 07:24 AM by <a href="#">ysq</a></SPAN> 
                    <P class=excerpt>
                        <div id="mediaspace"></div>
                    </P>
                    <UL class=replies>
                        <LI><A title="" href="#"><SPAN class=date>1分钟前</SPAN><SPAN class=person>杨康:</SPAN> Listening "Somewhere i belong"...</A> </LI>
                        <LI><A title="" href="#"><SPAN class=date>5分钟前</SPAN><SPAN class=person>左文建:</SPAN> just listening "香水有毒"...</A> </LI>
                        <LI><A title="" href="#"><SPAN class=date>1小时前</SPAN><SPAN class=person>刘明良:</SPAN> listened "常回家看看"...</A> </LI>
                    </UL>
                </DIV>
        </UL>
    </DIV>
</DIV>
<!--main end//-->



<?php
//var_dump($this->user);
?>

<!--<embed src="<?php echo $this->mediaurl;?>/js/mp/mediaplayer.swf" width="320" height="140" allowfullscreen="true" 
allowscriptaccess="always" 
flashvars="&file=<?php echo $this->baseUrl;?>/media/medialist&height=140&width=320&displaywidth=120&autostart=true&repeat=true" />
//-->

<script type="text/javascript" src="/js/mp/swfobject.js"></script>



<script type="text/javascript">
var so = new SWFObject('/js/mp/mediaplayer.swf','player','720','300','8');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam("wmode","opaque");
so.addVariable('file','/media/medialist');
//so.addVariable('displaywidth','120');
so.addVariable('displayheight','120');
//so.addVariable('thumbsinplaylist','true');
so.addVariable('autostart','false');
//so.addVariable('autostart','true');
so.addVariable('repeat','true');
so.addVariable('height','260');
so.addVariable('width','300');
so.addVariable('backcolor','0x000000');
so.addVariable('frontcolor','0xffffff');
so.addVariable('lightcolor','0x0099CC');
so.addVariable('linktarget','_blank');
so.addVariable('callback','http://ysq.lb.dev.com/media/record');
so.write('mediaspace');
</script>

<?php echo $this->render('include/footer.phtml');?>
